Fix 21051:bcc09eb7379f "x86_32: Relocate multiboot modules to below 1GB."
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 24 Mar 2010 11:06:48 +0000 (11:06 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 24 Mar 2010 11:06:48 +0000 (11:06 +0000)
commit13e06c39087d32d6bc592cb30059828fc4257f8f
tree8ef3a5fc1a3e4cd56adb25e42464f4e3e297d243
parent6a9ca8b206be15720a1a59185ce5acf333ff72e0
Fix 21051:bcc09eb7379f "x86_32: Relocate multiboot modules to below 1GB."

Copy the modules in ascending order in memory, rather than decsending
order. This reduces the likelihood of the second relocation (in
setup.c) corrupting modules through accidental overwriting.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/boot/reloc.c